package py.com.fms.fms.bean;

import java.io.Serializable;
import java.util.Date;

public class RefDetBean implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2985884564976691235L;
	private Long id;
	private String headCode;
	private String descrip;
	private String shortname;
	private Boolean status;
	private Long userIns;
	private Date startDate;
	private Boolean selected;
	
	public boolean equals(Object obj) {
		if (!(obj instanceof RefDetBean)) {
		return false;
		}
		RefDetBean bean = (RefDetBean) obj;

		return (this.id.equals(bean.id));

		}

	// GETTERS AND SETTERS
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	
	public String getDescrip() {
		return descrip;
	}
	public void setDescrip(String descrip) {
		this.descrip = descrip;
	}
	public String getShortname() {
		return shortname;
	}
	public void setShortname(String shortname) {
		this.shortname = shortname;
	}
	public Boolean getStatus() {
		return status;
	}
	public void setStatus(Boolean status) {
		this.status = status;
	}
	public Long getUserIns() {
		return userIns;
	}
	public void setUserIns(Long userIns) {
		this.userIns = userIns;
	}
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	public String getHeadCode() {
		return headCode;
	}
	public void setHeadCode(String headCode) {
		this.headCode = headCode;
	}

	public Boolean getSelected() {
		return selected;
	}

	public void setSelected(Boolean selected) {
		this.selected = selected;
	}
	
}
